﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    [Table("InspectShift")]
    public class InspectShift : Entity
    {
        /// <summary>
        /// 计划id
        /// </summary>
        public string InspectPlanId { get; set; }
        /// <summary>
        /// 周期
        /// </summary>
        public short Cycle { get; set; }
        /// <summary>
        ///巡检人员
        /// </summary>
        public string Personnel { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public short Sort { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }
        /// <summary>
        /// 包含周六
        /// </summary>
        public bool IncludeSaturday { get; set; }
        /// <summary>
        /// 包含周日
        /// </summary>
        public bool IncludeSunday { get; set; }
    }
}
